﻿using Ops.Mpc.Ioc.MessageBoxServices;
using System.Windows;

namespace Ops.Mpc.ExampleApplication.FancyMessageBox
{
    public class FancyMessageBoxService: IMessageBoxService
    {
        #region IMessageBoxService Members

        public void Show(string message, MessageBoxResultHandler messageBoxResultHandler = null)
        {
            this.Show(message, string.Empty, MessageBoxButton.OK, null);
        }

        public void Show(string message, string caption, System.Windows.MessageBoxButton messageBoxButton, MessageBoxResultHandler messageBoxResultHandler = null)
        {
            MessageBoxControl.Show(message, caption, messageBoxButton, messageBoxResultHandler);
        }

        #endregion
    }
}
